
#ifndef __ENCRYPTION_KEY_H
#define __ENCRYPTION_KEY_H

#include "Key.h"

/** Interface to the key, describing using a key for encryption. */
class EncryptionKey : public virtual Key
{
   public:
      /** Gets a cryptlib context for encrypting data which has the key
       * loaded into it. */
      virtual int getCryptlibEncryptionContext(CRYPT_CONTEXT *keycontext) = 0;
};

#endif
